class Step {
	constructor(arg) {
		this.info = arg;
		if (arguments.length > 0) {
			this.name = arguments[0];
		}
	}

	getNode() {
		let rect = document.createElementNS("http://www.w3.org/2000/svg", "rect");
		rect.setAttribute("width", 100);
		rect.setAttribute("height", 40);
		rect.setAttribute("rx",4);
		rect.setAttribute("ry",4)
		rect.setAttribute("style", "fill:#fff;stroke-width:1;stroke:#000");
		rect.setAttribute("class","node");
		this.node = rect;
		return this.node;
	}
}
